package com.zhy.user.service;

import com.zhy.entity.PageResult;
import com.zhy.user.entity.dto.UserDto;
import com.zhy.user.entity.po.UserPo;

/**
 * @author 随缘而愈
 * @version 1.0
 * @description TODO
 * @date 24/1/2024 上午10:05
 */

public interface UserService {

    int addUser(UserDto userDto);

    int delete(Long id);

    PageResult<UserPo> getUserPage(UserDto userDto);

    boolean update(UserDto userDto);
}